package player

import poker.Poker
import poker.number
import poker.suit
import utile.POKER_NUMBER_LIST
import utile.POKER_SUIT_LIST

class Player constructor(val name:String,var money:Int,var set:Int){
    var isAlive:Boolean=true
    var originalmoney=0;
    var lastBet = 0 ;
    var poker:Poker = Poker(
        number(POKER_NUMBER_LIST[0],0),
        suit(POKER_SUIT_LIST[0],0)
    )
    override fun toString(): String {
        return ("${this.name}现在${this.money}块钱${this.isAlive}")
    }
}